package com.example.hehecat.yuejian1.ui.wiget;

/**
 * Created by hehecat on 2017/12/7.
 */

public class  MyStaticVariable {
    int userid;
    private static MyStaticVariable staticVariable;
    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }


    public static MyStaticVariable newInstance(){
       if(staticVariable == null){
           staticVariable = new MyStaticVariable();
       }
       return staticVariable;
    };
}
